import req1 from '@/lib/req1'
//获取日报列表
export function dailListAPI(){
    return req1.get('/daily/dailyList')
}
//新增日报
export function addDailInsertAPI({workDate,content ,speed }){
return req1.post('/daily/dailyAdd',{workDate,content ,speed})
}
//修改
export function dailUpdateAPI({id,workDate,content ,speed}){
  return req1.put('/daily/dailyUpdate',{id,workDate,content ,speed})
}
//删除
export function dailDeleteAPI(id){
    id = id.join()
    return req1.delete('/daily/dailyDelete',{id})
}
//搜索
export function dailSeach({workMonth,workDate }){
    return req1.get('/daily/dailyLike',{workMonth,workDate })
}
